package com.hp.dao;

import com.hp.pojo.Form;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface FormMapper {
    /*Ouch*/
    //订单查询
    List<Form> GetForms();
    //订单添加
    int AddForm(Form form);
    //订单完成
    int CompleteForm(int formId);

//    Form GetFormsByagentId(int agentId);

    public int addForm(Form form);
}
